package com.wutong.erb.exception;

import com.wutong.erb.exception.base.AuthorizationException;
import lombok.Getter;

/**
 * Token需要刷新异常
 * @author wutong
 */
@Getter
public class TokenNeedRefreshException extends AuthorizationException {

    private final String tokenName;

    public TokenNeedRefreshException(String tokenName) {
        super(405, tokenName + "需要刷新");
        this.tokenName = tokenName;
    }
}
